import request from "@/utils/request";

import type { GetRolePermissionListApiResponse } from "./model/roleModel";

const enum Api {
  getPermissionList = "/admin/acl/permission",
}

export const GetPermissionListApi = () => {
  return request.get<any, GetRolePermissionListApiResponse>(
    Api.getPermissionList
  );
};
